There's no parameter to this function.
Signed-off-by: Rosen Penev <[email protected]>
PKG_NAME:=cmdpad
PKG_VERSION:=0.0.3
-PKG_RELEASE:=6
+PKG_RELEASE:=7
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tgz
PKG_SOURCE_URL:=@SF/cmdpad
--- /dev/null
+--- a/src/command.c
++++ b/src/command.c
+@@ -160,7 +160,7 @@ int addCommand( char * command, unsigned
+ struct CMD * tmp ;
+ int count ;
+
+- count = getNumberofEntry( cmd) ;
++ count = getNumberofEntry() ;
+ if( count >= 0) {
+ cmd = (struct CMD *) realloc( cmd,
+ (count+2)*sizeof( struct CMD)) ;